package com.lht.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单合同表实体
 *
 * @author ZhengZhanWu
 * @date 2020-02-16 13:23:02
 */
@Data
@NoArgsConstructor
@TableName("lst_order_contract")
public class OrderContractEntity implements Serializable {
    private static final long serialVersionUID = 1L;

            /**
         * 主键id
         */
        @TableId
        private Long id;
                /**
         * 创建时间
         */
        private Date createAt;
                /**
         * 更新时间
         */
        private Date updateAt;
                /**
         * 是否删除   0:未删除(默认)   1:删除
         */
        private String isDelete;
                /**
         * 申请编号
         */
        private String applyNo;
                /**
         * 推销员用户id
         */
        private Long promoUserId;
                /**
         * 订单id
         */
        private Long orderId;
                /**
         * 产品id
         */
        private Long productId;
                /**
         * 姓名
         */
        private String name;
                /**
         * 身份证号
         */
        private String idCardNo;
                /**
         * 贷款种类
         */
        private String loanType;
                /**
         * 服务费，单位元
         */
        private BigDecimal serviceFee;
                /**
         * 担保费，单位元
         */
        private BigDecimal guaranteeFee;
                /**
         * 账户管理费，单位元
         */
        private BigDecimal accountManagementFee;
                /**
         * 风险保证金，单位元
         */
        private BigDecimal riskGuaranteeFee;
                /**
         * 渠道代理费，单位元
         */
        private BigDecimal channelAgentFee;
                /**
         * 发票费-百分比，单位%
         */
        private BigDecimal invoiceRate;
                /**
         * 资料费，单位元
         */
        private BigDecimal informationFee;
                /**
         * 垫资费，单位元
         */
        private BigDecimal advanceFee;
                /**
         * 预付金，单位元
         */
        private BigDecimal prepaymentFee;
                /**
         * 抵押登记查询费，单位元/笔
         */
        private BigDecimal mortgageRegistrationQueryFee;
                /**
         * 抵押加急费，单位元
         */
        private BigDecimal mortgageEmergencyFee;
                /**
         * 收取方式-预付定金，单位元
         */
        private BigDecimal receiveAdvanceMoney;
                /**
         * 签名图片url
         */
        private String signUrl;
                /**
         * 合同url
         */
        private String contractUrl;
                /**
         * 现在照片url集合，格式[url,url,url]
         */
        private String photoUrls;
                /**
         * 补充说明
         */
        private String remark;
    
            public static final String ID = "id";
                public static final String CREATE_AT = "create_at";
                public static final String UPDATE_AT = "update_at";
                    public static final String APPLY_NO = "apply_no";
                public static final String PROMO_USER_ID = "promo_user_id";
                public static final String ORDER_ID = "order_id";
                public static final String PRODUCT_ID = "product_id";
                public static final String NAME = "name";
                public static final String ID_CARD_NO = "id_card_no";
                public static final String LOAN_TYPE = "loan_type";
                public static final String SERVICE_FEE = "service_fee";
                public static final String GUARANTEE_FEE = "guarantee_fee";
                public static final String ACCOUNT_MANAGEMENT_FEE = "account_management_fee";
                public static final String RISK_GUARANTEE_FEE = "risk_guarantee_fee";
                public static final String CHANNEL_AGENT_FEE = "channel_agent_fee";
                public static final String INVOICE_RATE = "invoice_rate";
                public static final String INFORMATION_FEE = "information_fee";
                public static final String ADVANCE_FEE = "advance_fee";
                public static final String PREPAYMENT_FEE = "prepayment_fee";
                public static final String MORTGAGE_REGISTRATION_QUERY_FEE = "mortgage_registration_query_fee";
                public static final String MORTGAGE_EMERGENCY_FEE = "mortgage_emergency_fee";
                public static final String RECEIVE_ADVANCE_MONEY = "receive_advance_money";
                public static final String SIGN_URL = "sign_url";
                public static final String CONTRACT_URL = "contract_url";
                public static final String PHOTO_URLS = "photo_urls";
                public static final String REMARK = "remark";
    }
